include ../Makefile.inc

OBJ = $(patsubst %.c++,%.o,$(wildcard *.c++))
BIN = ../emu

all : $(BIN)

$(BIN) : $(OBJ)
	$(CPP) -o $@ $(LDFLAGS) $^

%.o : %.c++ $(wildcard *.h)
	$(CPP) -c $(CPPFLAGS) $^

clean :
	rm -f $(OBJ) $(BIN)

